<template>
	<view class="desp">
		<u-navbar
		          title="医生简介"
		          :autoBack="true"
		      >
		      </u-navbar>
	<view class="despmain">
		<view class="main">
			<view class="title">
				{{docinfo.doctor_name}}医生基本信息
			</view>
			<view class="tit">
				(1)医生简介
			</view>
			<view class="nei">
				{{docinfo.detail?docinfo.detail:"暂无"}}
			</view>
			<view class="tit">
				(2)医生擅长
			</view>
			<view class="nei">
					{{docinfo.good_at?docinfo.good_at:"暂无"}}
			</view>
			<view class="tit">
				(3)标签
			</view>
			<view class="doctaglist" v-if="docinfo.platlabel.length>0">
				<view class="doctag" v-for="item in docinfo.platlabel">
				{{item}}
				</view>
				
			</view>
			<view class="doctaglist" v-else>
				暂无
			</view>
			<view class="tit" >
				(4)教学职称
			</view>
			<view class="nei">
					{{docinfo.doctor_title?docinfo.doctor_title:"暂无"}}
			</view>
			<view class="tit">
				(5)社会职务
			</view>
			<view class="nei">
					{{docinfo.social_position?docinfo.social_position:"暂无"}}
			</view>
			<view class="tit">
				(6)院内行政职务
			</view>
			<view class="nei">
					{{docinfo.administration_title?docinfo.administration_title:"暂无"}}
			</view>
			<view class="tit">
				(7)学历
			</view>
			<view class="nei">
					{{docinfo.xueli?docinfo.xueli:"暂无"}}
			</view>
		</view>
	</view>
	</view>
</template>

<script>
	import parse from 'mini-html-parser2'
	export default {
		data() {
			return {
			docinfo:""
			}
		},
		onLoad(option) {
	this.docinfo=uni.getStorageSync("doc")
	wx.hideShareMenu({
		success(res) {
			console.log('success', res) // {success: true}
		},
		fail(err) {
			console.log('fail', err)
		}
	})
		},
		methods: {
	
		}
	}
</script>

<style scoped lang="scss">
	.desp {
		background-color:  #F5F6F8;
		padding-bottom: 500rpx;
		overflow: hidden;
		padding-top: 180rpx;
.despmain{
	width: 93%;
	margin: 0 auto;
	margin-top: 20rpx;
	border-radius: 15rpx;
	background-color: #fff;
	padding-top: 20rpx;
	padding-bottom: 50rpx;
	.main{
		width: 90%;
		margin: 0 auto;
		.title{
			font-size: 34rpx;
			color: #333;
			line-height: 80rpx;
			font-weight: bold;
		}
		.tit{
			font-size: 30rpx;
			color: #333;
			line-height: 80rpx;
			font-weight: bold;
		}
		.nei{
			font-size: 28rpx;
			color: #333;
			line-height: 40rpx;
		}
		.doctaglist{
							   display: flex;
							   flex-wrap: wrap;
							   .doctag {
							   	font-size: 20rpx;
							   	color: #b58559;
							   	background-color: #fbdaa8;
							   	padding-left: 10rpx;
							   	padding-right: 10rpx;
							   	line-height: 35rpx;
								height: 35rpx;
							   	border-radius: 5rpx;
							   	margin-top: 10rpx;
								margin-right: 10rpx;
							   }
							   .doctag1 {
							   	font-size: 20rpx;
							   	color: #d87b1d;
							   	background-color: #ffd5c0;
							   	padding-left: 10rpx;
							   	padding-right: 10rpx;
							   	line-height: 35rpx;
							   	border-radius: 5rpx;
							   	margin-top: 10rpx;
							   							margin-right: 10rpx;
							   }
						   }
	}
}

	

	}
</style>
